<template>
	<!-- 推广订单 -->
	<view class="withdrawal">
		<view class="ye">
			<text>累计推广订单</text>
			<view class="amount">{{ countes }} 单</view>
		</view>
		<view class="img">
			<image
				src="../../static/distribution/dan.png"
				mode=""
				style="width: 60px;height: 60px;"
			></image>
		</view>
		<view class=""></view>
		<Aside></Aside>
	</view>
</template>

<script>
import Aside from "@/components/asideNav.vue";
import {spreads} from "../../network/pointer.js";
export default {
	data() {
		return {
			countes: ""
		};
	},
	components: {
		Aside
	},
	async created() {
		let res = await spreads();
		console.log("##", res);
		this.countes = res.data.count;
	}
};
</script>

<style scoped>
.withdrawal {
	width: 100vw;
	height: 18vh;
	background-color: #e93323;
	color: #fff;
}
.ye {
	position: absolute;
	top: 8%;
	left: 10%;
	font-size: 14px;
}
.amount {
	margin-top: 10px;
	font-size: 25px;
}
image {
	position: absolute;
	top: 80px;
	left: 70%;
}
</style>
